package robot;

public class TextConverter {

	public String convert(String newText) {
		String new2Text = "neuer Text";
		try {
			new2Text = newText.toUpperCase().replaceAll("A", "_").replaceAll("B", ":");
		} catch (Exception e) {
			// TODO: handle exception
			new2Text = "Exception: " + e.getMessage();
		}
		return new2Text;
	}

}
